<template>
  <div class="link-layer-content flex">
    <div class="link-layer-left">
      <ul>
        <li class="active">全部直播间</li>
      </ul>
    </div>
    <div class="link-layer-right flex-item">
      <component-live-sel :selectedLiveList="link.liveList" v-on:selectLiveList="setLiveList"></component-live-sel>
    </div>
  </div>
</template>

<script>
  import ComponentLiveSel from './../ComponentLiveSel'

  export default {
    components: {
      ComponentLiveSel
    },
    props: {
      link: {
        type: Object,
        default: {}
      }
    },
    data() {
      return {
      }
    },
    // 初始化页面
    created() {
    },
    mounted() {
    },
    methods: {
      setLiveList(liveList) {
        this.$emit('setLiveList', liveList)
      }
    }
  }

</script>
